package com.mobilepay.moneypig.response.mine;

import com.google.gson.annotations.SerializedName;
import com.mobilepay.moneypig.response.ResponseResult;

import java.util.List;

/**
 * Created by xlm on 2017/8/3 0003
 */

public class VipData extends ResponseResult {

    /**
     * data : {"vip":[{"title":"会员列表顶部图片","path":"http://www.lint.com/exunion/public/uploads/images/20170802/04a1a21fd92b05e4dbce9d7d339c832d.jpg","url":""}],"list":[{"id":1,"name":"普通会员","abstract":"快捷支付 0.39%","cover":"http://www.lint.com/exunion/public/uploads/images/20170802/8fc81b02a7e74768e0b876a966c0c875.png","background":"","sort":100,"status":1,"create_time":1501588844,"update_time":1501588844},{"id":2,"name":"金牌会员","abstract":"快捷支付 0.49%","cover":"http://www.lint.com/exunion/public/uploads/images/20170802/f6150ddeb4f81c460602b37149063142.png","background":"http://www.lint.com/exunion/public/uploads/images/20170802/0c70bf02f3bcf95531ff8c98bb2d206a.png","sort":100,"status":1,"create_time":1501588844,"update_time":1501588844}],"grade":null}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * vip : [{"title":"会员列表顶部图片","path":"http://www.lint.com/exunion/public/uploads/images/20170802/04a1a21fd92b05e4dbce9d7d339c832d.jpg","url":""}]
         * list : [{"id":1,"name":"普通会员","abstract":"快捷支付 0.39%","cover":"http://www.lint.com/exunion/public/uploads/images/20170802/8fc81b02a7e74768e0b876a966c0c875.png","background":"","sort":100,"status":1,"create_time":1501588844,"update_time":1501588844},{"id":2,"name":"金牌会员","abstract":"快捷支付 0.49%","cover":"http://www.lint.com/exunion/public/uploads/images/20170802/f6150ddeb4f81c460602b37149063142.png","background":"http://www.lint.com/exunion/public/uploads/images/20170802/0c70bf02f3bcf95531ff8c98bb2d206a.png","sort":100,"status":1,"create_time":1501588844,"update_time":1501588844}]
         * grade : null
         */

        private int grade;
        private List<VipBean> vip;
        private List<ListBean> list;

        public int getGrade() {
            return grade;
        }

        public void setGrade(int grade) {
            this.grade = grade;
        }

        public List<VipBean> getVip() {
            return vip;
        }

        public void setVip(List<VipBean> vip) {
            this.vip = vip;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class VipBean {
            /**
             * title : 会员列表顶部图片
             * path : http://www.lint.com/exunion/public/uploads/images/20170802/04a1a21fd92b05e4dbce9d7d339c832d.jpg
             * url :
             */

            private String title;
            private String path;
            private String url;

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getPath() {
                return path;
            }

            public void setPath(String path) {
                this.path = path;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }
        }

        public static class ListBean {
            /**
             * id : 1
             * name : 普通会员
             * abstract : 快捷支付 0.39%
             * cover : http://www.lint.com/exunion/public/uploads/images/20170802/8fc81b02a7e74768e0b876a966c0c875.png
             * background :
             * sort : 100
             * status : 1
             * create_time : 1501588844
             * update_time : 1501588844
             */

            private int id;
            private String name;
            @SerializedName("abstract")
            private String abstractX;
            private String cover;
            private String background;
            private int sort;
            @SerializedName("status")
            private int statusX;
            private long create_time;
            private long update_time;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getAbstractX() {
                return abstractX;
            }

            public void setAbstractX(String abstractX) {
                this.abstractX = abstractX;
            }

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public String getBackground() {
                return background;
            }

            public void setBackground(String background) {
                this.background = background;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public int getStatusX() {
                return statusX;
            }

            public void setStatusX(int statusX) {
                this.statusX = statusX;
            }

            public long getCreate_time() {
                return create_time;
            }

            public void setCreate_time(long create_time) {
                this.create_time = create_time;
            }

            public long getUpdate_time() {
                return update_time;
            }

            public void setUpdate_time(long update_time) {
                this.update_time = update_time;
            }
        }
    }
}
